package com.zmm.zebulon.module.trade.biz.framework.order.core.annotations;

import com.zmm.zebulon.module.trade.enums.order.TradeOrderOperateTypeEnum;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.METHOD;

/**
 * description: 交易订单的操作日志 AOP 注解
 *
 * @author zebulon
 * package com.zmm.zebulon.module.trade.biz.framework.order.core.annotations
 * name: TradeOrderLog
 * date 2025/8/31 16:37
 */
@Target({METHOD, ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TradeOrderLog {

    /**
     * 操作类型
     */
    TradeOrderOperateTypeEnum operateType();

}
